import request from "@/utils/request"

// 获取考试列表
export const listExamMaterial = (params = {}) => { return request.get('/business/examMaterial/list', { params }) }
// 获取考试资料详情
export const getExamMaterialById = (params) => { return request.get(`/business/examMaterial/${params}`) }
// 删除考试资料
export const deleteExamMaterial = (params) => { return request.delete('/business/examMaterial', { data: params }) }
// 修改获取考试资料
export const updateExamMaterial = (params = {}) => { return request.put(`/business/examMaterial`, params) }
// 新增考试资料
export const addExamMaterial = (params = {}) => { return request.post('/business/examMaterial', params) }

